Magnific Popup is a free responsive jQuery Lightbox plug-in. Compared to other diverse Lightbox plug-ins, Magnific Popup focuses on performance and provides users with the best experience on different devices and is compatible with Zepto. js.Articles you may be interested in
Zoom. js: A unique page content scaling
"Lightbox" is a chic and easy-to-use picture display that allows a picture to be rendered directly above the current page without having to go to a new window. Lightbox effect on the network has a lot of JS version of the introduction. But all download a lightbox JS small then dozens of K, big is on hundred K. If you just need a similar
"Lightbox" is a chic and easy-to-use picture display that allows a picture to be rendered directly above the current page without having to go to a new window. Lightbox effect on the network has a lot of JS version of the introduction. But all download a lightbox JS small then dozens of K, big is on hundred K. If you just need a similar
This article uses CSS+HTML+JS to implement a landscape menu. has a multi-level pop-up menu drop-down.First, let's take a look:watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvajkwmzgyote4mg==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">You should first write the HTML part of the code, the code is relatively simple, code such as the following:Then write the CSS code, the code has a
,//Message text box height Borderwidth:2,//Border width bordercolor: "Red", Border color BackColor: "#EC90F6",//Background color cuspshift: "60%",//sharp Corner on the message content box up/down, refers to the left displacement, the sharp corner is in the message content box left/right, refers to the upper displacement。 Contentshift: "20%",//pop-up box on the target frame/down, refers to the left displacement, the popup box in the Target box left/
Recently want to make a similar landing box of the kind of pop-up box, in fact, there are many examples on the internet, and there are corresponding plug-ins, such as: Jquery-ui, can be used directly, and I simply made a simple version of the landing box, really easy.In fact, the principle is to set two Div, a div_cover, a div_content. Div_cover is used to overwrite the original interface, so that the original interface is not touched and blurred, and div_content is used to display the content,
HTML sectionFirst, there's a button to trigger the event.Pop-up window background (usually full screen z-index and BackgroundColor)Pop-up window container (header, body, footer)It is worth mentioning that we generally give the element class name and IDID is used to get the element class used to set the styleCSS SectionSet the appropriate style first.animation xx 2s with @keyframes to achieve animation effectJavaScript sectionGets the popup element thr
CSS Code Snippets. CRM_TC_BG{width:100%;Height:100%;position:fixed;Display:Block;Top:0; Left:0;background:#000;Filter:APHA (opacity=50);-moz-opacity:0.5;Opacity:0.5;Z-index: +;}. Crm_tc_box{width:300px;Min-height:200px;Max-height:300px;Overflow-x:Hidden;overflow-y:Auto;Display:Block;position:Absolute; Left:50%;Margin-left:-150px;Top:50%;Margin-top:-100px;Z-index:1001;background:#fff;}HTML code does not show hidden layers by defaultDivID= "Card_popup"s
Here, make a pop-up layer with arrows.1, if the browser does not support CSS3, we can use border simulation. But this time the arrows can not have a border, that is, solid color, not very good, this time we could use two B tags to achieve:First you need to make an upward arrow, the color of the arrows is the color of the pop-up layer border, other directions can be imitated.. arrow-outer{width:0px;height:0px;display:block;border-bottom:10px solid #AFAFAF; border-left:10px Solid transparent;borde
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.